<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<HTML>
<HEAD>
<TITLE></TITLE>
    <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS" />

    <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
    <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
    <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
    <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
    <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
    <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
    <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
    <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
    <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
    <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript" id="keyMap"></script>
    <script type="text/javascript">
      dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
    </script>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="focoPrimerControl();">
<FORM name="frmMain" method="POST" action="CopyFromSettlement_F1.html" target="superior">
  <INPUT type="hidden" name="Command">
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
  <INPUT type="hidden" name="inpwindowId" value="" id="window"></INPUT>
  <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
<div class="Popup_ContentPane_CircleLogo">
  <div class="Popup_WindowLogo">
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
  </div>
</div>
<TABLE cellspacing="0" cellpadding="0" width="100%">
  <TR>
    <TD id="tdNavigation">
      <TABLE cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
        <TR class="Popup_NavBar_bg"><TD></TD>
          <TD class="Popup_NavBar_separator_cell"></TD>
          <TD class="Popup_NavBar_bg_logo_left"></TD>
          <TD class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></TD>
          <TD class="Popup_NavBar_bg_logo_right"></TD>
          <TD class="Popup_NavBar_Popup_title_cell"><SPAN>Copy From Settlement</SPAN></TD>
          <TD class="Popup_NavBar_separator_cell"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR>
    <TD id="tdSeparator">
      <TABLE cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
        <TR>
          <TD class="Popup_SeparatorBar_bg"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  <TR>
    <TD>
      <DIV class="Popup_ContentPane_Client" style="overflow: auto;">
                            <!-- MessageBox -->
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
                              <TBODY>
                              <tr class="MessageBox_TopMargin">
                                <td class="MessageBox_LeftMargin"></td>
                                <td></td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              <tr>
                                <td class="MessageBox_LeftMargin"></td>
                                <td>

                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
                                    <TBODY>
                                    <tr>
                                      <td>
                                        <div class="MessageBox_TopLeft"></div>
                                        <div class="MessageBox_Left"></div>
                                      </td>
                                      <td class="MessageBox_bg">

                                        <table class="MessageBox_Top">
                                        <TBODY>
                                          <tr>
                                            <td>
                                              <span>
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                                                <TBODY>
                                                <tr>
                                                  <td class="MessageBox_Icon_ContentCell">
                                                    <div class="MessageBox_Icon"></div>
                                                  </td>
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
                                                    <span>
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
                                                        xxInfo: AccessTableWithNoView
                                                      </div>
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
                                                        xxThe current information is empty.
                                                      </div>
                                                      <div class="MessageBox_TextSeparator"></div>
                                                    </span>
                                                  </td>
                                                </tr>
                                                </TBODY>
                                              </table>
                                              </span>
                                            </td>
                                          </tr>
                                          </TBODY>
                                        </table>

                                      </td>
                                      <td class="MessageBox_RightTrans">
                                        <div class="MessageBox_TopRight"></div>
                                        <div class="MessageBox_Right"></div>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td rowspan="2" class="MessageBox_BottomLeft">
                                      </td>
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
                                      </td>
                                      <td rowspan="2" class="MessageBox_BottomRight">
                                      </td>
                                    </tr>
                                    <tr>
                                      <td class="MessageBox_Bottom">
                                      </td>
                                    </tr>
                                    </TBODY>
                                  </table>

                                </td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              <tr class="MessageBox_BottomMargin">
                                <td class="MessageBox_LeftMargin"></td>
                                <td></td>
                                <td class="MessageBox_RightMargin"></td>
                              </tr>
                              </TBODY>
                            </table>
                            <!-- MessageBox END -->
        <TABLE cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
          <TR>
            <TD class="TableEdition_OneCell_width"></TD>
            <TD class="TableEdition_OneCell_width"></TD>
            <TD class="TableEdition_OneCell_width"></TD>
            <TD class="TableEdition_OneCell_width"></TD>
            <TD class="TableEdition_OneCell_width"></TD>
            <TD class="TableEdition_OneCell_width"></TD>
          </TR>
          <TR>
            <TD class="TitleCell"> <SPAN class="LabelText">From Date</SPAN></TD>
            <TD class="TextBox_btn_ContentCell">
              <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                <TR>
                  <TD class="TextBox_ContentCell">
                    <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateFrom" id="paramDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramDateFrom");</script>
                  </TD>
                  <TD class="FieldButton_bg">
                    <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                      <TR>
                        <TD class="FieldButton_bg">
                          <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
                        </TD>
                      </TR>
                    </TABLE>
                  </TD>
                </TR>
              </TABLE>
            </TD>
            <TD class="TitleCell"> <SPAN class="LabelText">To Date</SPAN></TD>
            <TD class="TextBox_btn_ContentCell">
              <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
                <TR>
                  <TD class="TextBox_ContentCell">
                    <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateTo" id="paramDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramDateTo");</script>
                  </TD>
                  <TD class="FieldButton_bg">
                    <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpDateTo', document.frmMain.inpDateTo.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
                      <TR>
                        <TD class="FieldButton_bg">
                          <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
                        </TD>
                      </TR>
                    </TABLE>
                  </TD>
                </TR>
              </TABLE>
            </TD>
            <TD class="TitleCell"> <SPAN class="LabelText">Document No.</SPAN></TD>
            <TD class="TextBox_ContentCell"><INPUT type="text" name="inpDocumentNo" id="paramDocumentNo" size="10" maxlength="10" value="" class="TextBox_btn_OneCell_width"></INPUT>
</TD>
          </TR>
          <TR> 
            <TD class="TitleCell"> <SPAN class="LabelText">Description:</SPAN></TD>
            <TD class="ContentCell" colspan="5"> <TEXTAREA class="TextArea_FiveCells_width" cols="70" rows="2" name="inpDescription" id="paramDescription" onclick="logChanges(this);return true;"></TEXTAREA></TD>
          </TR>
          <tr>
            <TD></TD>
            <TD class="Button_CenterAlign_ContentCell">
              <div>
                <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Results'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND', false, null, null, 'superior');return false;">
            <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Results';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                  <tr>
                    <td class="Button_left"><img class="Button_Icon Button_Icon_html" alt="View Results in a New Window" title="View Results in a New Window" src="../../../../../web/images/blank.gif" border=0/></td>
                    <td class="Button_text">Search</td>
                    <td class="Button_right"></td>
                  </tr>
                </table>
                  </a>
              </div>
            </TD>
            <TD colspan="4"></TD>
          </TR>
        </TABLE>
      </DIV>
    </TD>
  </TR>
</TABLE>

  <INPUT type="hidden" name="inpcSettlementId" id="paramSettlement" value=""></INPUT> 
  <INPUT type="hidden" name="inpcSettlementFromFrame4" id="paramSettlement" value=""></INPUT> 
<table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
  <tr><td>
  <div class="Popup_ContentPane_Client" style="overflow: auto;">
    <TABLE cellspacing="0" cellpadding="0" class="DataGrid_Header_Table DataGrid_Body_Table">
      <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
        <TD width="24px" class="DataGrid_Body_LineNoCell"> </TD>
        <TH width="16%" class="DataGrid_Header_Cell">Document No.</TH>
        <TH width="58%" class="DataGrid_Header_Cell">Description</TH>
        <TH width="22%" class="DataGrid_Header_Cell">MovementDate</TH>
      </TR>
      <DIV id="sectionDetail"> 
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003">
          <TD width="24px"><INPUT type="radio" name="inpcSettlementFromId" value="xx" class="CheckBox" id="fieldcSettlementFromId" onclick="submitCommandFormParameter('FRAME4',document.frmMain.inpcSettlementFromFrame4, 'xx', false, null, null, 'superior');"></INPUT>
          </TD>
          <TD width="16%" class="cell" id="fieldDocumentNo">&nbsp;</TD>
          <TD width="58%" class="cell" id="fieldDescription">&nbsp;</TD>
          <TD width="22%" class="cell" id="fieldDate">&nbsp;</TD>
        </TR>
      </DIV>
    </TABLE>
  </div>
  </td></td>
</TABLE>
<BR>
  <INPUT type="hidden" name="inpcSettlementId" id="paramSettlementId" value=""></INPUT> 
  <INPUT type="hidden" name="inpcSettlementFromId" id="paramSettlementFromId" value=""></INPUT>
<table cellspacing="0" cellpadding="0" width="100%"  style="text-align:-moz-center;_text-align:center;">
  <tr><td>
  <div class="Popup_ContentPane_Client" style="overflow: auto;">
    <TABLE cellspacing="0" cellpadding="0" class="DataGrid_Header_Table DataGrid_Body_Table">
      <TR class="Popup_Client_Selector_DataGrid_HeaderRow">
        <TH width="25%" class="DataGrid_Header_Cell">Business Partner</TH>
        <TH width="10%" class="DataGrid_Header_Cell">Amount</TH>
        <TH width="20%" class="DataGrid_Header_Cell">Date</TH>
        <TH width="24%" class="DataGrid_Header_Cell">Concept</TH>
        <TH width="11%" class="DataGrid_Header_Cell">Debit</TH>
        <TH width="10%" class="DataGrid_Header_Cell">Credit</TH>
      </TR>
    <DIV id="sectionDetail2"> 
      <TR> 
        <TD width="25%" class="cell">
          <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
            <TR>
              <TD class="TextBox_ContentCell">
                <INPUT type="hidden" name="inpcBpartnerIdxx" id="fieldBpartnerId" value=""></INPUT> 
                <INPUT class="dojoValidateValid TextBox_btn_OneCell_width" type="text"  name="inpcBpartnerId_Dxx" size="13" maxlength="100" value="" id="fieldBpartnerdescription"></INPUT>
              </TD>
              <TD class="FieldButton_ContentCell">
                <TABLE class="FieldButton" onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBPartnerIdxx', 'inpcBpartnerId_Dyy', document.frmMain.inpcBpartnerId_Dzz.value);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Search';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="fieldRefButtonBPartner">
                  <TR>
                    <TD class="FieldButton_bg">
                      <IMG alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"></IMG>
                    </TD>
                  </TR>
                </TABLE>
              </TD>
            </TR>
          </TABLE>
        </TD>
        <TD width="10%" class="cell"><INPUT type="text" name="inpAmountxx" size="6" maxlength="10" value="" id="fieldAmount"></INPUT></TD>
        <TD width="20%" class="cell">
          <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
            <TR>
              <TD class="TextBox_ContentCell">
                <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy" type="text" name="inpDatexx" id="paramfieldDate" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramfieldDate");</script>
              </TD>
              <TD class="FieldButton_bg">
                <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpDatexx', document.frmMain.inpDateyy.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="fieldRefButtonDate">
                  <TR>
                    <TD class="FieldButton_bg">
                      <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
                    </TD>
                  </TR>
                </TABLE>
              </TD>
            </TR>
          </TABLE>
        </TD>
        <td width="45%" colspan="3" class="cell" >
          <table width="100%">
            <div  id="sectionConcepto">
            <tr>
              <TD width="62%" class="LabelText" id="fieldConcepto">xxConcepto1</TD>
              <TD width="24%"> <INPUT type="text" name="inpDebexx" value="" size="9" maxlength="15" id="fieldDebe"></INPUT></TD>
              <TD width="24%"> <INPUT type="text" name="inpHaberxx" value="" size="9" maxlength="15" id="fieldHaber"></INPUT></TD>
            </tr>
            </div>
          </table>
        </td>
      </TR>
    </DIV>
  </TABLE>
  </div>
</FORM>
</BODY>
</HTML>
